<?php
@session_start(); 
include("include/db_connect.php"); 
connect();
$sql="SET CHARACTER SET UTF8";   
query($sql); 
include "try_session_login.php";
$data = array(
	"expire"=>$_POST['expire'],
	"inform"=>$_POST['inform'],
	"company"=>$_POST['company'],
	"type"=>$_POST['type'],
	"postcode"=>$_POST['postcode'],
	"customer"=>$_POST['customer'],
	"budget"=>$_POST['budget'],
	"net"=>$_POST['net'],
	"total"=>$_POST['total'],
	"customer_id"=>$_POST['customer_id']
);
	update("tb_report",$data,"id='".$_POST['id']."'");
		
?>